<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('施工许可申请信息列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <!-- <li>
                                <p>建设规模：</p>
                                <input type="text" name="developmentscope"/>
                            </li>
                            <li>
                                <p>施工许可证号：</p>
                                <input type="text" name="constructpermitnum"/>
                            </li>
                            <li class="select-time">
                                <p>合同开工日期：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginCompactbegindate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endCompactbegindate]"/>
                            </li>
                            <li class="select-time">
                                <p>合同竣工日期：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginCompactcompleteddata]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endCompactcompleteddata]"/>
                            </li> -->
                            <li>
                                <p>总包单位：</p>
                                <input type="text" name="totalcompany"/>
                            </li>
                            <li>
                                <p>分包单位：</p>
                                <input type="text" name="segmentcompanys"/>
                            </li>
                            <li>
                                <p>建设单位：</p>
                                <input type="text" name="constructunit"/>
                            </li>
                            <!-- <li>
                                <p>电话：</p>
                                <input type="text" name="conlinkphone"/>
                            </li>
                            <li>
                                <p>法定代表人：</p>
                                <input type="text" name="conlegalpersonname"/>
                            </li> -->
                            <li>
                                <p>工程名称：</p>
                                <input type="text" name="unitengineeringname"/>
                            </li>
                            <!-- <li>
                                <p>创建人：</p>
                                <input type="text" name="createman"/>
                            </li>
                            <li class="select-time">
                                <p>创建时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginCreatedate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endCreatedate]"/>
                            </li>
                            <li class="select-time">
                                <p>最后修改时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginLastmodifydate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endLastmodifydate]"/>
                            </li>
                            <li>
                                <p>上报人：</p>
                                <input type="text" name="reportman"/>
                            </li>
                            <li class="select-time">
                                <p>上报时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginReporttime]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endReporttime]"/>
                            </li>
                            <li>
                                <p>受理人：</p>
                                <input type="text" name="acceptman"/>
                            </li>
                            <li class="select-time">
                                <p>受理时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAccepttime]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAccepttime]"/>
                            </li>
                            <li>
                                <p>审定人登录名：</p>
                                <input type="text" name="authorizedman"/>
                            </li>
                            <li class="select-time">
                                <p>审定时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAuthorizeddate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAuthorizeddate]"/>
                            </li> -->
                            <li>
                                <p>设计单位：</p>
                                <input type="text" name="designunit"/>
                            </li>
                            <li>
                                <p>监理单位：</p>
                                <input type="text" name="supervisionunit"/>
                            </li>
                           <!--  <li>
                                <p>上报人姓名：</p>
                                <input type="text" name="reportmanname"/>
                            </li>
                            <li>
                                <p>受理人姓名：</p>
                                <input type="text" name="acceptmanname"/>
                            </li>
                            <li>
                                <p>审定人姓名：</p>
                                <input type="text" name="authorizedmanname"/>
                            </li>
                            <li>
                                <p>审定结果：</p>
                                <input type="text" name="authorizedresult"/>
                            </li> -->
                            <li>
                                <p>勘察单位：</p>
                                <input type="text" name="surveyunitname"/>
                            </li>
                            <!-- <li>
                                <p>审核状态：</p>
                                <input type="text" name="state"/>
                            </li>
                            <li class="select-time">
                                <p>审核时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAuditdate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAuditdate]"/>
                            </li>
                            <li>
                                <p>市政规模：</p>
                                <input type="text" name="citybuildingsize"/>
                            </li>
                            <li>
                                <p>单位工程类型：</p>
                                <select name="unitengineeringtype" th:with="type=${@dict.getType('')}">
                                    <option value="">所有</option>
                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                                </select>
                            </li> -->
                            <li>
                                <p>主管部门：</p>
                                <input type="text" name="inchargedepartment"/>
                            </li>
                            <!-- <li>
                                <p>行政主管部门标识符：</p>
                                <input type="text" name="inchargedepartmentguid"/>
                            </li>
                            <li>
                                <p>工程状态：</p>
                                <input type="text" name="projectstate"/>
                            </li>
                            <li>
                                <p>工程类别：</p>
                                <input type="text" name="projectcategory"/>
                            </li>
                            <li>
                                <p>投资类别：</p>
                                <input type="text" name="investmentcategory"/>
                            </li>
                            <li>
                                <p>建设性质：</p>
                                <select name="buildingtype" th:with="type=${@dict.getType('')}">
                                    <option value="">所有</option>
                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                                </select>
                            </li>
                            <li>
                                <p>房屋建筑工程-保障性住房：</p>
                                <input type="text" name="architectureaffordablehouse"/>
                            </li>
                            <li>
                                <p>房屋建筑工程-私人住宅：</p>
                                <input type="text" name="architectureprivatehouse"/>
                            </li>
                            <li>
                                <p>房屋建筑工程-医院：</p>
                                <input type="text" name="architecturehospital"/>
                            </li>
                            <li>
                                <p>房屋建筑工程-学校：</p>
                                <input type="text" name="architectureschool"/>
                            </li>
                            <li>
                                <p>行政机关或事业单位自建办公楼：</p>
                                <input type="text" name="architectureadministration"/>
                            </li>
                            <li>
                                <p>房屋建筑工程-展馆：</p>
                                <input type="text" name="architecturepavilion"/>
                            </li>
                            <li>
                                <p>房屋建筑工程-剧院：</p>
                                <input type="text" name="architecturetheatre"/>
                            </li>
                            <li>
                                <p>房屋建筑工程-其他：</p>
                                <input type="text" name="architectureother"/>
                            </li>
                            <li>
                                <p>房屋建筑工程-公业厂房：</p>
                                <input type="text" name="architecturefactory"/>
                            </li>
                            <li>
                                <p>市政工程-道路工程：</p>
                                <input type="text" name="municipalroad"/>
                            </li>
                            <li>
                                <p>市政工程-桥梁工程：</p>
                                <input type="text" name="municipalbridge"/>
                            </li>
                            <li>
                                <p>市政工程-市政管廊：</p>
                                <input type="text" name="municipalpiperack"/>
                            </li>
                            <li>
                                <p>市政工程-其他：</p>
                                <input type="text" name="municipalother"/>
                            </li>
                            <li>
                                <p>是否承诺制：</p>
                                <input type="text" name="iscommitment"/>
                            </li>
                            <li class="select-time">
                                <p>填写日期：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginFilldate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endFilldate]"/>
                            </li> -->
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div class="btn-group-sm" id="toolbar" role="group">
                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="supervise:ConsturctionLicenceInfo:add">
                    <i class="fa fa-plus"></i> 添加
                </a>
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="supervise:ConsturctionLicenceInfo:edit">
                    <i class="fa fa-edit"></i> 修改
                </a>
                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="supervise:ConsturctionLicenceInfo:remove">
                    <i class="fa fa-remove"></i> 删除
                </a>
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="supervise:ConsturctionLicenceInfo:export">
                    <i class="fa fa-download"></i> 导出
                 </a> 
            </div>
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('supervise:ConsturctionLicenceInfo:edit')}]];
        var removeFlag = [[${@permission.hasPermi('supervise:ConsturctionLicenceInfo:remove')}]];
        var detailFlag = [[${@permission.hasPermi('supervise:ConsturctionLicenceInfo:detail')}]];
        var prefix = ctx + "supervise/ConsturctionLicenceInfo";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                detailUrl: prefix + "/detail/{id}",
                modalName: "施工许可申请信息",
                columns: [{
                    checkbox: true
                },
                {
                    field : 'guid', 
                    title : '施工许可标识符',
                    visible: false
                },
                {
                    field : 'constructunitid', 
                    title : '建设单位标识符',
                    visible: false
                },
                {
                    field : 'unitengineeringinfoguid', 
                    title : '项目子工程标识符列表',
                    visible: false
                },
                {
                    field : 'projectinfoguid', 
                    title : '项目标识符',
                    visible: false
                },
                {
                    field : 'developmentscope', 
                    title : '建设规模',
                    visible: false
                },
                {
                    field : 'constructpermitnum', 
                    title : '施工许可证号',
                    visible: false
                },
                {
                    field : 'compactbegindate', 
                    title : '合同开工日期',
                    visible: false
                },
                {
                    field : 'compactcompleteddata', 
                    title : '合同竣工日期',
                    visible: false
                },
                {
                    field : 'totalcompany', 
                    title : '施工总包单位'
                },
                {
                    field : 'segmentcompanys', 
                    title : '施工分包单位'
                },
                {
                    field : 'constructunit', 
                    title : '建设单位名称'
                },
                {
                    field : 'constructunitaddress', 
                    title : '建设单位地址',
                    visible: false
                },
                {
                    field : 'conlinkphone', 
                    title : '电话',
                    visible: false
                },
                {
                    field : 'conlegalpersonname', 
                    title : '法定代表人',
                    visible: false
                },
                {
                    field : 'unitengineeringname', 
                    title : '工程名称'
                },
                {
                    field : 'projectaddress', 
                    title : '建设地点',
                    visible: false
                },
                {
                    field : 'createman', 
                    title : '创建人',
                    visible: false
                },
                {
                    field : 'createdate', 
                    title : '创建时间',
                    visible: false
                },
                {
                    field : 'lastmodifydate', 
                    title : '最后修改时间',
                    visible: false
                },
                {
                    field : 'reportman', 
                    title : '上报人',
                    visible: false
                },
                {
                    field : 'reporttime', 
                    title : '上报时间',
                    visible: false
                },
                {
                    field : 'acceptman', 
                    title : '受理人',
                    visible: false
                },
                {
                    field : 'accepttime', 
                    title : '受理时间',
                    visible: false
                },
                {
                    field : 'authorizedman', 
                    title : '审定人登录名',
                    visible: false
                },
                {
                    field : 'authorizeddate', 
                    title : '审定时间',
                    visible: false
                },
                {
                    field : 'compactprice', 
                    title : '施工合同金额',
                    visible: false
                },
                {
                    field : 'designunit', 
                    title : '设计单位'
                },
                {
                    field : 'supervisionunit', 
                    title : '监理单位'
                },
                {
                    field : 'reportmanname', 
                    title : '上报人姓名',
                    visible: false
                },
                {
                    field : 'acceptmanname', 
                    title : '受理人姓名',
                    visible: false
                },
                {
                    field : 'authorizedmanname', 
                    title : '审定人姓名',
                    visible: false
                },
                {
                    field : 'authorizedresult', 
                    title : '审定结果',
                    visible: false
                },
                {
                    field : 'surveyunitname', 
                    title : '勘察单位名称'
                },
                {
                    field : 'state', 
                    title : '审核状态',
                    visible: false
                },
                {
                    field : 'auditdate', 
                    title : '审核时间',
                    visible: false
                },
                {
                    field : 'citybuildingsize', 
                    title : '市政规模',
                    visible: false
                },
                {
                    field : 'unitengineeringtype', 
                    title : '单位工程类型',
                    visible: false
                },
                {
                    field : 'inchargedepartment', 
                    title : '行政主管部门'
                },
                {
                    field : 'inchargedepartmentguid', 
                    title : '行政主管部门标识符',
                    visible: false
                },
                {
                    field : 'contractduration', 
                    title : '合同工期',
                    visible: false
                },
                {
                    field : 'isanymargin', 
                    title : '是否工程款保证金',
                    visible: false
                },
                {
                    field : 'anymargin', 
                    title : '工程款保证金',
                    visible: false
                },
                {
                    field : 'isworkersmargin', 
                    title : '是否农民工工资保证金',
                    visible: false
                },
                {
                    field : 'workersmargin', 
                    title : '农民工工资保证金',
                    visible: false
                },
                {
                    field : 'jlcontractamount', 
                    title : '监理合同金额',
                    visible: false
                },
                {
                    field : 'consortiumwinninglist', 
                    title : '联合体信息列表',
                    visible: false
                },
                {
                    field : 'isrevoke', 
                    title : '是否撤销',
                    visible: false
                },
                {
                    field : 'reason', 
                    title : '撤销理由',
                    visible: false
                },
                {
                    field : 'superviseregisterguid', 
                    title : '监督登记标识符',
                    visible: false
                },
                {
                    field : 'auditusedhours', 
                    title : '审核小时数',
                    visible: false
                },
                {
                    field : 'isepc', 
                    title : '是否实行工程总承包',
                    visible: false
                },
                {
                    field : 'isprefabricatedbuild', 
                    title : '是否为装配式建筑',
                    visible: false
                },
                {
                    field : 'istotalprocesscounsel', 
                    title : '是否实行工程全过程咨询',
                    visible: false
                },
                {
                    field : 'roadlong', 
                    title : '道路长',
                    visible: false
                },
                {
                    field : 'roadwide', 
                    title : '道路宽',
                    visible: false
                },
                {
                    field : 'projectstate', 
                    title : '工程状态',
                    visible: false
                },
                {
                    field : 'landnum', 
                    title : '用地批准手续证号',
                    visible: false
                },
                {
                    field : 'licensenum', 
                    title : '建设工程规划许可证号',
                    visible: false
                },
                {
                    field : 'iscanletcontract', 
                    title : '是否具备直接发包条件',
                    visible: false
                },
                {
                    field : 'issocialinvestment', 
                    title : '是否社会投资项目',
                    visible: false
                },
                {
                    field : 'isjointbid', 
                    title : '是否联合体中标',
                    visible: false
                },
                {
                    field : 'isentrust', 
                    title : '是否委托监理',
                    visible: false
                },
                {
                    field : 'isfinishedhouse', 
                    title : '是否全装修住宅',
                    visible: false
                },
                {
                    field : 'projectcategory', 
                    title : '工程类别',
                    visible: false
                },
                {
                    field : 'investmentcategory', 
                    title : '投资类别',
                    visible: false
                },
                {
                    field : 'buildingtype', 
                    title : '建设性质',
                    visible: false
                },
                {
                    field : 'landarea', 
                    title : '用地面积',
                    visible: false
                },
                {
                    field : 'planscope', 
                    title : '规划许可的建设规模',
                    visible: false
                },
                {
                    field : 'unitprojectnum', 
                    title : '栋数',
                    visible: false
                },
                {
                    field : 'groundlayer', 
                    title : '地上层数',
                    visible: false
                },
                {
                    field : 'undergroundlayer', 
                    title : '地下层数',
                    visible: false
                },
                {
                    field : 'uparea', 
                    title : '地上面积',
                    visible: false
                },
                {
                    field : 'downarea', 
                    title : '地下面积',
                    visible: false
                },
                {
                    field : 'commodityhousingarea', 
                    title : '商品住房面积',
                    visible: false
                },
                {
                    field : 'officebuildingarea', 
                    title : '写字楼面积',
                    visible: false
                },
                {
                    field : 'hotelhousingarea', 
                    title : '酒店式公寓面积',
                    visible: false
                },
                {
                    field : 'propertyhotelarea', 
                    title : '产权式酒店面积',
                    visible: false
                },
                {
                    field : 'hotelarea', 
                    title : '宾馆、酒店面积',
                    visible: false
                },
                {
                    field : 'businesshousingarea', 
                    title : '商业营业用房面积',
                    visible: false
                },
                {
                    field : 'otherarea', 
                    title : '其他',
                    visible: false
                },
                {
                    field : 'architectureaffordablehouse', 
                    title : '房屋建筑工程-保障性住房',
                    visible: false
                },
                {
                    field : 'architectureprivatehouse', 
                    title : '房屋建筑工程-私人住宅',
                    visible: false
                },
                {
                    field : 'architecturehospital', 
                    title : '房屋建筑工程-医院',
                    visible: false
                },
                {
                    field : 'architectureschool', 
                    title : '房屋建筑工程-学校',
                    visible: false
                },
                {
                    field : 'architectureadministration', 
                    title : '行政机关或事业单位自建办公楼',
                    visible: false
                },
                {
                    field : 'architecturepavilion', 
                    title : '房屋建筑工程-展馆',
                    visible: false
                },
                {
                    field : 'architecturetheatre', 
                    title : '房屋建筑工程-剧院',
                    visible: false
                },
                {
                    field : 'architectureother', 
                    title : '房屋建筑工程-其他',
                    visible: false
                },
                {
                    field : 'architecturefactory', 
                    title : '房屋建筑工程-公业厂房',
                    visible: false
                },
                {
                    field : 'decorationprojectscope', 
                    title : '二次装修工程-装饰装修工程规模',
                    visible: false
                },
                {
                    field : 'municipalroad', 
                    title : '市政工程-道路工程',
                    visible: false
                },
                {
                    field : 'municipalbridge', 
                    title : '市政工程-桥梁工程',
                    visible: false
                },
                {
                    field : 'municipalpiperack', 
                    title : '市政工程-市政管廊',
                    visible: false
                },
                {
                    field : 'municipalother', 
                    title : '市政工程-其他',
                    visible: false
                },
                {
                    field : 'iscommitment', 
                    title : '是否承诺制',
                    visible: false
                },
                {
                    field : 'issubmitcheckinfo', 
                    title : '是否提交核查表',
                    visible: false
                },
                {
                    field : 'filldate', 
                    title : '填写日期',
                    visible: false
                },
                {
                    field : 'checkconclusion', 
                    title : '核查结论',
                    visible: false
                },
                {
                    field : 'bjid', 
                    title : '办件id',
                    visible: false
                },
                {
                    field : 'bjbh', 
                    title : '办件编号',
                    visible: false
                },
                {
                    field : 'projectcharacteristics', 
                    title : '项目特征',
                    visible: false
                },
                {
                    title: '操作',
                    align: 'center',
                    formatter: function(value, row, index) {
                        var actions = [];
                        /* actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.guid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
                        actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.guid + '\')"><i class="fa fa-remove"></i>删除</a>'); */
                        actions.push('<a class="btn btn-success btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.guid + '\')"><i class="fa fa-edit"></i>详情</a> ');
                        return actions.join('');
                    },
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>